package one.stand.request.essay;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import one.stand.request.BaseRequest;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 获客文章访客数据
 * </p>
 *
 * @author luoyang
 * @since 2020-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="EssayVisitorsData对象", description="获客文章访客数据")
public class EssayVisitorsDataRequest extends BaseRequest implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "1海报 2名片 3 文章")
    private Integer source;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "是否授权,0 未授权 1已授权")
    private Integer authPhone;

    @ApiModelProperty(value = "访问时间开始 时间格式:2020-02-02 00:11:11")
    private String visitTimeStart;

    @ApiModelProperty(value = "访问时间结束 时间格式:2020-02-02 00:11:11")
    private String visitTimeEnd;


    @ApiModelProperty(value = "企业ID")
    //@NotNull(message = "公司ID不能为空")
    private Long companyId;


}
